package com.cyh.testdesignpattern.strategy;

import android.util.Log;

//北京鸭
public class PekingDuck extends Duck {
    public PekingDuck() {
        flyBehavior = new BadFlyBehavior();
        quackBehavior = new CanQuackBehavior();
    }

    @Override
    public void display() {
        Log.i("PekingDuck", "这是北京鸭");
    }
}
